package com.hsd.whb.pojo.input;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-04-26 19:22:52
 */
@Data
public class ForgetPassword {

    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式错误")
    private String email;

    @NotNull(message = "角色不能为空")
    private Integer role;
}
